package com.hjm.friend.service.user;

import com.hjm.common.core.domain.Result;
import com.hjm.common.core.domain.vo.LoginUserVO;
import com.hjm.friend.domain.user.dto.UserDTO;
import com.hjm.friend.domain.user.vo.UserDetailVO;

public interface UserService {
    Boolean sendMsg(UserDTO userDTO);


    String login(String phone, String code);

    Result<LoginUserVO> info(String token);

    boolean exit(String token);

    Result<UserDetailVO> detail();

    int edit(UserDetailVO userDetailVO);

    int updateHeadImage(String headImage);
}
